for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
define(function(require) {
'use strict';
var PriceListsComponent;
var $ = require('jquery');
var BaseComponent = require('oroui/js/app/components/base/component');
PriceListsComponent = BaseComponent.extend({
/**
* @inheritDoc
*/
constructor: function PriceListsComponent() {
PriceListsComponent.__super__.constructor.apply(this, arguments);
},
initialize: function(options) {
var $el = options._sourceElement;
$el.find('input[type="hidden"]').on('change', function(e) {
e
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.
$(this).closest('td').find('.validation-failed').remove();
$(this).closest('.error').removeClass('error');
});
}
return PriceListsComponent;
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.